package com.example.mailbackend.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 后台菜单表(Menu)表实体类
 *
 * @author makejava
 * @since 2024-01-17 19:23:06
 */
@SuppressWarnings("serial")
public class Menu extends Model<Menu> {

    private Long id;
    //父级ID
    private Long parentId;
    //创建时间
    private Date createdTime;
    //菜单名称
    private String title;
    //菜单级数
    private Integer level;
    //菜单排序
    private Integer sort;
    //前端名称
    private String name;
    //前端图标
    private String icon;
    //前端隐藏
    private Integer hidden;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getHidden() {
        return hidden;
    }

    public void setHidden(Integer hidden) {
        this.hidden = hidden;
    }


}

